package com.lzj.demo.design.factory.service.impl;

import com.lzj.demo.design.factory.DeliverReq;
import com.lzj.demo.design.factory.service.GoodsService;
import com.lzj.demo.design.factory.service.ICommodity;
import lombok.extern.slf4j.Slf4j;

import java.util.Map;

@Slf4j
public class GoodsCommodity implements ICommodity {

    private GoodsService goodsService;

    @Override
    public void sendCommodity(String uid, String commodityId, String bizId, Map<String, String> extMap) {
        DeliverReq deliverReq = new DeliverReq();
        //boolean isSuccess = goodsService.deliverGoods(deliverReq);
        log.info("--> 发送实物商品");
    }
}
